<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>

		<title>个人信息管理</title>
	</head>
	<body>
<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/FrontHeader.jsp"></jsp:include>
<div id="menu-back">
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1><label>个人信息管理</label></h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
						<!-- 个人信息展示 -->
					<div class="information" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i><label>修改个人密码</label>
						</h4>
						<div class="input-container">
						<form action="saveupdatepassword" class="info-form" name="updatePasswordForm" method="post" onSubmit="return updatePasswordSubmit(this);">
							<table class="info-table">
							<tr>
								<th><label for="updatePassword">旧密码</label></th>
								<td colspan="5">
								<input type="hidden" id="oldPassword" value="${tSysUser.getPassWord()}">
								<input class="full-width has-padding has-border" id="updatePassword" name="PassWord" type="password"  placeholder="旧密码" maxlength="32" onchange="checkPass(this.value)" required="required">
							<a href="#0" class="hide-password">显示</a>
								</td>		
							</tr>
					<tr>
				<th><label for="updateNewPassword">新密码</label></th>
								<td colspan="5">
								<input class="full-width has-padding has-border" id="updateNewPassword" name="strPassword" type="password"  placeholder="新密码" maxlength="32" onchange="checkNewPW(this.value)" required="required">
							<a href="#0" class="hide-password">显示</a>
								</td>
							</tr>
							<tr >
								<th><label for="updateRePassword">确认密码</label></th>
								<td colspan="5">
								<input class="full-width has-padding has-border" id="updateRePassword" name="RePassword" type="password"  placeholder="确认密码" maxlength="32" onchange="checkRePass(this.value)" required="required">
							<a href="#0" class="hide-password">显示</a>
								</td>
								
								
							</tr>
						
						</table>
						<center>
				<input type="submit" class="btn" value="保存" />
				
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center>
			</form>
						</div>		
					</div>
					<!-- 个人信息结束 -->

				
				</section>
				
					
					
			</article>
			
		</main>
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<!-- /st-container -->
	
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Script Embed Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Slider -->
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
		<script>
			new GridScrollFx( document.getElementById( 'news-grid' ), {
				viewportFactor : 0.4
			} );
		</script>

</body>

</html>